package com.szx.ssm.dao;

import com.szx.ssm.bean.tbDept;
import com.szx.ssm.bean.tbDeptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface tbDeptMapper {
    int countByExample(tbDeptExample example);

    int deleteByExample(tbDeptExample example);

    int deleteByPrimaryKey(Integer deptId);

    int insert(tbDept record);

    int insertSelective(tbDept record);

    List<tbDept> selectByExample(tbDeptExample example);

    tbDept selectByPrimaryKey(Integer deptId);

    int updateByExampleSelective(@Param("record") tbDept record, @Param("example") tbDeptExample example);

    int updateByExample(@Param("record") tbDept record, @Param("example") tbDeptExample example);

    int updateByPrimaryKeySelective(tbDept record);

    int updateByPrimaryKey(tbDept record);
}